package com.itfreer.data.check;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.itfreer.data.check.entity.CheckHistoryEntity;
import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;

import io.swagger.annotations.Api;

/**
 * 检查历史服务
 * 
 * @author cai
 *
 */
@RestController
@RequestMapping("/checkhistory")
@Api("检查历史服务")
public class RestCheckHistoryService extends BaseRestService<CheckHistoryEntity> {
	
	@Autowired(required = false)
	private CheckHistoryService service;

	@Override
	protected BaseService<CheckHistoryEntity> getService() {
		return service;
	}
}
